recompute Start Date
Deprecated
use IRR.recomputeStartDate() instead
Replace with
IRR.recomputeStartDate()Recomputes the start date for a list of cash flows. The start date affects the result of an IRR computation the most, since every cash flow is computed against the start date. There are times when you should recompute the start date because it has been initially estimated, for example when the user picks 'All Dates' in a report and the start date defaults to 1970. This (for example) would make the IRR computation artificially low. Note: This function mutates the entries in cashFlows (i.e. start date and annums in period). Clone them first if shared elsewhere. Refer: IRR.recomputeStartDate for more details
Return
The new start date that was computed.
Parameters
The time series to recompute the start date for, sorted in ascending date order.
The current starting date.